#ifndef __STDVEC_SERIAL_H_
#define __STDVEC_SERIAL_H_
#include <iostream>
#include <vector>

/*
Overload the << operator to print a vector object
*/
template <typename T>
std::ostream& operator<<(
                std::ostream& outputStream,
                const std::vector<T>& vectorObj)
{
    // Print all the elements of vector using loop
    for (auto elem : vectorObj)
    {
        outputStream<< elem << " ";
    }
    return outputStream;
}

#endif // __STDVEC_SERIAL_H_
